package com.achieve.wx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

@Data
@Configuration
@ConfigurationProperties(prefix = "wx.miniapp")
public class WxMaProperties {
    private Map<String, Config> configs;

    @Data
    public static class Config {
        private String appid;
        private String secret;
        private String msgDataFormat;
    }
}
